<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<th:block th:replace="include :: header('菜单列表')" />
<body>
<div class="layui-fluid">
	<div class="layui-row">

		<div class="layui-collapse" lay-accordion="">
			<div class="layui-colla-item">
				<h2 class="layui-colla-title">搜索</h2>
				<div class="layui-colla-content layui-show">
					<form id="menu-form" class="layui-form">
						<div class="layui-form-item">
							<div class="layui-inline">
								<label class="layui-form-label">菜单名称：</label>
								<div class="layui-input-inline">
									<input type="text" name="menuName" autocomplete="on" class="layui-input">
								</div>
							</div>
							<div class="layui-inline">
								<label class="layui-form-label">菜单状态：</label>
								<div class="layui-input-block">
									<select name="visible" lay-filter="visible">
										<option value="" selected="">所有</option>
										<option value="0">写作</option>
										<option value="1">阅读</option>
									</select>
								</div>
							</div>
						</div>
						<div class="layui-form-item">
							<div class="layui-input-block">
								<button class="layui-btn" lay-submit="" lay-filter="search">搜索</button>
								<button type="reset" class="layui-btn layui-btn-primary">重置</button>
							</div>
						</div>
					</form>
				</div>
			</div>
		</div>
		<table class="layui-hide" id="menuList" lay-filter="menuList"></table>

		<script type="text/html" id="toolbarMenu">
			<div class="layui-inline">
				<button class="layui-btn layui-btn-sm" lay-event="addBtn">新增</button>
			</div>
			<div class="layui-inline">
				<button class="layui-btn layui-btn-danger layui-btn-sm" lay-event="delBatchBtn">删除</button>
			</div>
		</script>
		<script type="text/html" id="barMenu">
			<a class="layui-btn layui-btn-xs" lay-event="add">新增</a>
			<a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a>
			<a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
		</script>


	    </div>
	</div>
	
	<th:block th:include="include :: footer-js" />
	<script type="text/javascript" th:src="@{/js/system/menu/menu.js}"></script>

</body>
</html>